import http from '../utlis/https'
// 系统设置列表渲染
export const GetSettingList = params => http.request({
    url: '/dai/query/setting',
    method: 'get',
    params
  })
  // 系统设置添加
export const AddSetting = data => http.request({
    url: '/dai/add/setting',
    method: 'POST',
    data
  })
  // 系统设置修改
  export const EditSetting = data => http.request({
    url: '/dai/update/setting?id=' + data.id,
    method: 'post',
    data
  })
  // 系统设置删除
  export const DelSetting = data => http.request({
    url: '/dai/remove/setting',
    method: 'post',
    data
  })